import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd

df=pd.read_csv('tips.csv')
print(df.head())
# data
#x
#y
#hue
# fliersize:噪声点的大小
sns.boxplot(data=df,x='time',y='total_bill',hue='sex')
plt.show()